package ie.lawlor.amvc.component.card;

import ie.lawlor.amvc.event.Event;
import ie.lawlor.amvc.patterns.standard.StandardModel;


/**
 * @author blawlor
 *
 */
public class CardModel extends StandardModel {
	
	private Class currentClass;
	public CardModel(String name){
		super(name, false);
	}
	
	public void doSelectionChanged(Event e){
		if (e.getPayload() != null){
			currentClass = e.getPayload().getClass();
		}
	}
  
  public void doChangeCard(Event e){
    logger.info("About to change the card!");
  }
}
